﻿<?xml version="1.0" encoding="utf-8"?>
<Application
    xmlns:ts="clr-namespace:MVVMTemplateSelection;assembly=MVVMTemplateSelection"
    x:Class="Navigation.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="clr-namespace:Navigation.ViewModel" mc:Ignorable="d">
    <Application.Resources>
         
    <ResourceDictionary>
        <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />

        <Style TargetType="ContentControl">
                <Setter Property="ContentTemplateSelector">
                    <Setter.Value>
                         <ts:ConventionTemplateSelector />       
                    </Setter.Value>
                </Setter>
            
        </Style>
        <ResourceDictionary.MergedDictionaries></ResourceDictionary.MergedDictionaries></ResourceDictionary></Application.Resources>
</Application>
